<div class="container">
    <div class="row">
           
<ul class="nav justify-content-center">
    <a class="navbar-brand" [routerLink]="['index']" >
        <img src="/assets/img/LOGOC.png" width="80" height="30" alt="">
    </a>
    <li class="nav-item">
         <a class="nav-link" [routerLink]="['index']">主页</a>
    </li>

    <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true" aria-expanded="false">新闻</a>
        <div class="dropdown-menu">
            <a class="dropdown-item" [routerLink]="['managelist']">新闻列表</a>
            <a class="dropdown-item" [routerLink]="['editnews','add']">新闻编辑</a>   
            <div class="dropdown-divider"></div>
                <a class="dropdown-item" [routerLink]="['newslist']">用户新闻列表</a>
              </div>
     </li>

     <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true" aria-expanded="false">单页</a>
            <div class="dropdown-menu">
                <a class="dropdown-item" [routerLink]="['showlist']">单页列表</a>
                <a class="dropdown-item" [routerLink]="['edit','add']">单页编辑</a>   
                <a class="dropdown-item" [routerLink]="['singlepagelist']">单页模块预览</a>
            </div>
     </li>

     <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true" aria-expanded="false">轮播区</a>
            <div class="dropdown-menu">
                <a class="dropdown-item" [routerLink]="['showcarousel']">轮播区显示</a>
                <a class="dropdown-item" [routerLink]="['uploadfile']">轮播区管理</a>   
             </div>
    </li>

    <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" data-toggle="dropdown"  role="button" aria-haspopup="true" aria-expanded="false">课程表</a>
            <div class="dropdown-menu">
                <a class="dropdown-item" [routerLink]="['courseindex']">课程主页</a>
                <a class="dropdown-item" [routerLink]="['uploadfile']">排课</a> 
                <a class="dropdown-item" [routerLink]="['book']">课程设置</a> 
                <a class="dropdown-item" [routerLink]="['student']">班级设置</a> 
                <a class="dropdown-item" [routerLink]="['teacher']">教师设置</a> 
                <a class="dropdown-item" [routerLink]="['classroom']">教室设置</a>   
             </div>
    </li>

    <li >
        <form class="form-inline ">
                <input class="form-control form-control-sm mr-sm-1" type="text" placeholder="Search" aria-label="Search">
                <button class="btn btn-outline-success btn-sm  my-1 my-sm-1" type="submit">Search</button>
        </form>
    </li>
   
  </ul>


</div>

<router-outlet></router-outlet>
<p></p>
<p></p>
<footer class="container">
        <p class="float-right"><a href="#">Back to top</a></p>
        <p>&copy; 2017-2018 Company, Inc. &middot; <a href="#">Privacy</a> &middot; <a href="#">Terms</a></p>
      </footer>
</div>